package com.lzh.java;

public class SingletomTest {
	public static void main(String[] args) {
		
		Bank b1 = Bank.instance;
		Bank b2 = Bank.instance;
		
//		Bank.instance = null;
		
		System.out.println(b1 == b2);
		
	}
}
class Bank{
	private Bank() {
		
	}
	public static final Bank instance = new Bank();
}
